Search results

28 packages found

Convert classes into factory functions so they can be called with or without new.

published 1.0.0 9 years ago
M
Q
P

Convert ES6 class constructor to normal function.

published 0.0.6 a month ago
M
Q
P

Call function constructors with an array of arguments that spread

published 1.1.9 10 years ago
M
Q
P

A micro library for calling function as constructor, but in similar to apply() style.

published 1.0.0 9 years ago
M
Q
P

A simple function which opens a VK share modal in a new tab

published 1.0.2 4 months ago
M
Q
P

Don't let people use "new" on your function

published 0.0.1 9 years ago
M
Q
P
M
Q
P

A simple NPM package to help you do stuff faster then ever!

published 2.8.5 a year ago
M
Q
P

An extension to allow `Class.new(...args)` instead of `new Class(...args)`

published 0.1.1 9 months ago
M
Q
P

Create factories from classes

published 0.0.1 9 years ago
M
Q
P

Bind context to a function and preserves her name. Can be used to change name of a function. The toString also works correctly.

published 2.0.2 8 years ago
M
Q
P

前端工具库集合, 工作业务制作, 提高编码能力, 业务开发效率

published 1.1.2 3 years ago
M
Q
P

Generate a factory method from a class constructor function. Adds static methods from all super classes.

published 0.1.4 9 months ago
M
Q
P

A JavaScript library with more functions for the normal Date class.

published 1.1.3 2 years ago
M
Q
P

Hybridify. Hybrids. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of [relike][].

published 2.0.0 8 years ago
M
Q
P

the new operator as a function

published 1.0.5 8 years ago
M
Q
P

nu (new) -- functional object allocation

published 0.1.0 12 years ago
M
Q
P

A function that remembers the values passed to it and returns true if a value is new.

published 1.0.0 6 years ago
M
Q
P

Call function constructors with an array of arguments that spread

published 2.0.0 7 years ago
M
Q
P

never type new again!

published 1.0.0 7 years ago
M
Q
P